package com.authorization.project.single.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.authorization.framework.aspectj.lang.annotation.Excel;
import com.authorization.framework.web.domain.BaseEntity;

/**
 * 单服务授权信息-服务中间对象 single_authorization_service_mapping
 * 
 * @author 李晓雷
 * @date 2020-07-11
 */
public class SingleAuthorizationServiceMapping extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 模块主键 */
    @Excel(name = "模块主键")
    private Long serviceId;

    /** 客户编号 */
    @Excel(name = "客户编号")
    private String userid;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setServiceId(Long serviceId) 
    {
        this.serviceId = serviceId;
    }

    public Long getServiceId() 
    {
        return serviceId;
    }
    public void setUserid(String userid) 
    {
        this.userid = userid;
    }

    public String getUserid() 
    {
        return userid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("serviceId", getServiceId())
            .append("userid", getUserid())
            .toString();
    }
}
